package cn.echase.ecare.yinfayun.utils;

import cn.hutool.core.text.CharSequenceUtil;
import cn.hutool.core.util.ObjUtil;

public class IntegerUtil {

    public static boolean equalsAny(Integer str1, Integer... strs) {
        if (ObjUtil.isNull(str1)){
            return false;
        }

        String str1Str = str1.toString();
        for (Integer str : strs) {
            if (ObjUtil.isNull(str1)){
                return false;
            }

            String strIStr = String.valueOf(str);
            if (CharSequenceUtil.equals(str1Str, strIStr, false)) {
                return true;
            }
        }
        return false;
    }

}
